<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">		
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"><?= lang('title_register'); ?></h4>
            </div>
            <div class="modal-body">
                <form action="<?php echo base_url(); ?>main/send" method="post" id="formRegister" onsubmit="return(validateForm())" >
                    <fieldset>
                        <table class="type">
                            <tr>
                                <td>
                                    <div class="control-group">
                                        <label class="radio"><input type="radio" value="1" name="type" required><span class="tipo"><?= lang('label_imaclient'); ?></span></label>
                                        <span class="help-block"><?= lang('placeholder_imaclient'); ?>.</span>
                                        <input name="name" id="name" type="text" placeholder="<?= lang('placeholder_first_name'); ?>*" maxlength="15" class="col-md-3" required/>
                                        <input name="lastname" id="lastname" type="text" placeholder="<?= lang('placeholder_last_name'); ?>*" maxlength="15" required/>
                                        <input name="company" class="hide" id="company" type="text" placeholder="<?= lang('placeholder_company_name'); ?>" maxlength="15"/>
                                        <input name="email" id="email" type="email" placeholder="<?= lang('placeholder_email'); ?>*" maxlength="30" required/>
                                        <div class="controls controls-row">
                                            <input name="phone1[]" id="ddd" type="tel" class="col-md-1" placeholder="DDD" maxlength="3" />
                                            <input name="phone1[]" id="phone" type="tel" class="col-md-2" placeholder="<?= lang('placeholder_telephone'); ?>" maxlength="10" />
                                        </div>
                                    </div>
                                </td>
                                <td>
                                    <div class="control-group">
                                        <label class="radio"><input type="radio" value="2" name="type" required><span class="tipo"><?= lang('label_imadesigner'); ?></span></label>
                                        <span class="help-block"><?= lang('placeholder_imadesigner'); ?>.</span>
                                        <select name="country" id="country">
                                            <option value="USA">U.S.A.</option>
                                            <option value="Brasil">Brasil</option>
                                            <option value="Spain">Spain</option>
                                        </select>
                                        <input name="city" id="city" type="text" placeholder="<?= lang('placeholder_city'); ?>" maxlength="20" />
                                        <input name="pass" id="pass" type="password" placeholder="<?= lang('placeholder_password'); ?>*" pattern=".{6,10}" title="Minimum 6 and maximun 10 characters" maxlength="10" required />
                                        <input name="repass" id="repass" type="password" data-placement="top" placeholder="<?= lang('placeholder_repassword'); ?>*" pattern=".{6,10}" maxlength="10" required />
                                        <button type="submit" class="btn btn-success"><?= lang('btn_create_account'); ?></button> <br/>
                                    </div>
                                </td>
                            </tr></table>
                        <p><i class="icon-envelope"></i> <?= lang('label_for_contact'); ?> <a href="mailto:talkwith@wdcloth.com">talkwith@wdcloth.com</a></p>
                        <div id="trace"></div>
                    </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <button class="btn" data-dismiss="modal" aria-hidden="true"><?= lang('btn_close') ?></button>
            </div>
        </div>
    </div>
</div>